package cn.zhangchg.leetcode.interview;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/api/v1/test")
@RestController
public class HelloRestController {

    @GetMapping("/hello")
    public String hello(){
        return "hello word";
    }

}
